﻿using MediatR;
using S.Eartag.Domain;
using System.ComponentModel.DataAnnotations;

namespace S.Eartag.API.Application.Command.MarkedConditionCommand
{
    public class MarkedConditionUpdateCommand:IRequest<int>
    {
        public int Id { get; set; }
        /// <summary>
        /// 羊只耳号
        /// </summary>
        /// 
        [StringLength(50)]
        public string? EarNumber { get; set; }
        /// <summary>
        /// 当前电子耳号
        /// </summary>
        /// 
        [StringLength(50)]
        public string? OldEarTag { get; set; }
        /// <summary>
        /// 新电子耳号
        /// </summary>
        /// 
        [StringLength(50)]
        public string? NewEarTag { get; set; }
        /// <summary>
        /// 戴标原因
        /// </summary>
        public Reason? Reason { get; set; }
        /// <summary>
        /// 戴标状态
        /// </summary>
        public MarkedCondition? MarkedCondition { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? UpdateDate { get; set; }
    }
}
